{% extends 'pg/index.html' %}

{% block operation %}

<div class="row">
    <div class="col-lg-8">
        {% for news in pageData['newss'] %}
            <div>
                <h2>
                    <a href="/pg/news_detail/{{news.permalink }}" >{{news.publication_date|datetimeformat}}</a>
                    <a href="/pg/news_detail/{{news.permalink }}" class="news_link">{{news.title}}</a><span class="label label-primary">New</span>
                </h2>
                {{news.body}}
            </div>
        {% endfor %}
    </div>
</div>
<!-- /.row -->
<ul class="pagination">
  <li><a href="#">&laquo;</a></li>
  <li><a href="#">1</a></li>
  <li><a href="#">2</a></li>
  <li><a href="#">3</a></li>
  <li><a href="#">4</a></li>
  <li><a href="#">5</a></li>
  <li><a href="#">&raquo;</a></li>
</ul>
{%endblock%}
